<{include file="app/service/header.tpl"}>

<style>
.tools-feedback{padding:10px 10px; height:100%; line-height: 1.5em; }
.tools-feedback p{font-size:16px;color:#000;padding:15px;}
.tools-feedback textarea{width:100%;border:1px solid #ccc;height:140px;}
.tools-feedback input[type="text"]{font-size:16px;border:1px solid #ccc;height:30px;padding:5px 0;width:100%;margin:25px 0;text-indent:10px;}
.tools-feedback input[type="image"]{height:30px;width:135px;}
.tools-feedback .title { color: #999; font-size: 1.2em; padding: 15px; }
.tools-feedback .error { color: #f44;  }
</style>

<div class="tools-feedback">
    <{if $items.errorcode == 'SUCC'}>
            <p class="title succ">感谢您的建议！</p>
    <{else}>
        <{if $items.errorcode == 'FAIL_EMPTY'}>
            <p class="title error">请输入有效的联系方式和反馈内容。</p>
        <{else}>
            <p class="title">留言板</p>
        <{/if}>

    <form method="POST">
        <textarea name="content" noresize></textarea>
        <input type="image" value="提交" src="/resource/images/tools/btn.png">
    </form>
    <{/if}>
</div>

<{include file="app/service/footer.tpl"}>
